package com.evildog.workspace.log.application.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.evildog.workspace.common.object.PageQuery;
import com.evildog.workspace.common.result.PagedResult;
import com.evildog.workspace.dependencies.mybatis.object.QueryConditionDTO;
import com.evildog.workspace.log.application.bo.AccessLogBO;
import com.evildog.workspace.log.application.bo.AccessLogPageBO;
import com.evildog.workspace.log.application.dto.AccessLogDTO;
import com.evildog.workspace.log.application.dto.AccessLogPageDTO;
import com.evildog.workspace.log.application.entity.AccessLog;

import java.util.List;

/**
 * <p>
 * accessLog Service
 * </p>
 *
 * @author evildog
 * @since 2020-08-29
 */
public interface AccessLogService extends IService<AccessLog> {

    /**
    * 自定义分页
    */
    PagedResult<AccessLogPageBO> getPageList(PageQuery query, List<QueryConditionDTO> queryConditions, AccessLogPageDTO pageDTO);

    /**
    * 获取详情
    */
    AccessLogBO getDetailById(Long id);

    /**
    * 保存
    */
    boolean save(AccessLogDTO param);
}
